package com.imporven.sell.vo;

import lombok.Data;

/**
 * @author imporven
 * @version 1.0.0
 * @date 2018-7-8 0:17
 * Controller响应结果封装类
 */
@Data
public class ResultVo<T> {

    /**
     * 编码
     */
    private Integer code;
    /**
     * 信息
     */
    private String msg;
    /**
     * 数据
     */
    private T data;

    public ResultVo(Integer code, String msg, T data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

}
